<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>博客编辑页</title>

    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/edit.css">
    <link rel="stylesheet" href="blog-editormd/css/editormd.css" />

</head>

<body>
    <div class="nav">
        <img src="pic/sign.jpg" alt="">
        <span class="blog-title">生菜虾的博客系统</span>
        <div class="space"></div>
        <span class="nav-span">主页</span>
        <span class="nav-span">写博客</span>
        <span class="nav-span">注销</span>
    </div>
    <div class="content-edit">
        <form action="blog" method="post">
            <div class="push">
                <input type="text" name="title" id="title">
                <input type="submit" value="发布文章" id="submit">
            </div>
            <!-- markdown 插件 html代码 -->
            <div id="editor">
                <textarea style="display:none;" name="content">##在这里写下一篇博客</textarea>
            </div>
    </form>
    </div>

    <script src="js/jquery.min.js"></script>
    <script src="blog-editormd/editormd.min.js"></script>
    <script type="text/javascript">

        $(function () {
            var editor = editormd("editor", {
                width  : "100%",
                height : "550px",
                path: "blog-editormd/lib/"
            });
        });
    </script>
</body>

</html>